package com.sumi.erp.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sumi.common.annotation.Excel;
import com.sumi.common.core.domain.BaseEntity;

/**
 * 合同模版对象 base_contract_template
 * 
 * @author <hmy>fgf67@163.com
 * @date 2024-06-26
 */
public class BaseContractTemplate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 模版id */
    private Long templateId;

    /** 公司id */
    @Excel(name = "公司id")
    private Long sellerId;

    /** 公司父级id */
    @Excel(name = "公司父级id")
    private Long blocId;

    /** 模版名称 */
    @Excel(name = "模版名称")
    private String templateName;

    /** 合同内容 */
    @Excel(name = "合同内容")
    private String content;

    /** 是否有效（1有效 0无效） */
    @Excel(name = "是否有效", readConverterExp = "1=有效,0=无效")
    private Integer isActive;

    /** 创建人id */
    @Excel(name = "创建人id")
    private Long createUid;

    /** 修改人id */
    @Excel(name = "修改人id")
    private Long updateUid;

    public void setTemplateId(Long templateId) 
    {
        this.templateId = templateId;
    }

    public Long getTemplateId() 
    {
        return templateId;
    }
    public void setSellerId(Long sellerId) 
    {
        this.sellerId = sellerId;
    }

    public Long getSellerId() 
    {
        return sellerId;
    }
    public void setBlocId(Long blocId) 
    {
        this.blocId = blocId;
    }

    public Long getBlocId() 
    {
        return blocId;
    }
    public void setTemplateName(String templateName) 
    {
        this.templateName = templateName;
    }

    public String getTemplateName() 
    {
        return templateName;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setIsActive(Integer isActive) 
    {
        this.isActive = isActive;
    }

    public Integer getIsActive() 
    {
        return isActive;
    }
    public void setCreateUid(Long createUid) 
    {
        this.createUid = createUid;
    }

    public Long getCreateUid() 
    {
        return createUid;
    }
    public void setUpdateUid(Long updateUid) 
    {
        this.updateUid = updateUid;
    }

    public Long getUpdateUid() 
    {
        return updateUid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("templateId", getTemplateId())
            .append("sellerId", getSellerId())
            .append("blocId", getBlocId())
            .append("templateName", getTemplateName())
            .append("content", getContent())
            .append("isActive", getIsActive())
            .append("createTime", getCreateTime())
            .append("createUid", getCreateUid())
            .append("updateTime", getUpdateTime())
            .append("updateUid", getUpdateUid())
            .toString();
    }
}
